package top.lixunda.books3.dao;

import org.apache.ibatis.annotations.Param;
import top.lixunda.books3.entity.LogisticsAddr;
import top.lixunda.books3.entity.LogisticsAddrExample;

import java.util.List;

public interface LogisticsAddrMapper {
    long countByExample(LogisticsAddrExample example);

    int deleteByExample(LogisticsAddrExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LogisticsAddr record);

    int insertSelective(LogisticsAddr record);

    List<LogisticsAddr> selectByExample(LogisticsAddrExample example);

    LogisticsAddr selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LogisticsAddr record, @Param("example") LogisticsAddrExample example);

    int updateByExample(@Param("record") LogisticsAddr record, @Param("example") LogisticsAddrExample example);

    int updateByPrimaryKeySelective(LogisticsAddr record);

    int updateByPrimaryKey(LogisticsAddr record);
}